#include "dialogsecuritynavigation.h"
#include "ui_dialogsecuritynavigation.h"

DialogSecurityNavigation::DialogSecurityNavigation(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DialogSecurityNavigation)
{
    ui->setupUi(this);

#if INDOOREMBED
    setWindowFlags(Qt::FramelessWindowHint);//隐藏窗口标题栏
#endif

    //取消按键虚线框
    ui->pbn_home->setFocusPolicy(Qt::NoFocus);
    ui->pbn_back->setFocusPolicy(Qt::NoFocus);

    ui->pbn_home->setText("");
    ui->pbn_back->setText("");

    connect(ui->pbn_back, SIGNAL(clicked()), this, SLOT(close()));
}

DialogSecurityNavigation::~DialogSecurityNavigation()
{
    delete ui;
}
